package com.gkj.blog.persistence.mapper;

import com.gkj.blog.framework.object.BaseMapper;
import com.gkj.blog.persistence.po.IpLog;
import com.gkj.blog.persistence.po.PvUv;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Repository
public interface IpLogMapper extends BaseMapper<IpLog>{
    IpLog selectBySidAndUri(@Param("sid")String sid, @Param("uri")String uri);
    List<PvUv> getUV_PVNum(@Param("start")Date start, @Param("end")Date end);
    List<Map> getAreaUV_PVMap();
    List<Map> getSortPagePv();
}